<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>
        var fun=new Function('a','b','var c=a+b;console.log(c)')
        fun(10,20)

        console.log(fun);
        // console.log(bcd);
        
    </script>
    
</body>
</html>